env = Environment( #CPPPATH = ['.', '/usr/lib', '/usr/local/lib'],
                   CCFLAGS=['-g', '-Wall'])#,
                   #LIBPATH = ['/usr/lib', '/usr/local/lib'] )

gearserial_sources = Split("""main.c
                              gearserial.c
                              gearserial_interface.c
                              xmalloc.c
                              xerror.c""")
env.ParseConfig('pkg-config gtk+-2.0 --cflags --libs')
env.ParseConfig('pkg-config libglade-2.0 --cflags --libs')

env.Program('gearserial', gearserial_sources)
